package com.sfy.les.dictionary;

public abstract class DataBaseDictionary {
	/**
	 * 数据库驱动
	 */
	private String dbDriver;
	
	/**
	 * 数据库地址
	 */
	private String dbUrl;
	
	/**
	 * 要导出的数据库名称
	 */
	private String dbName;

	/**
	 * 表名前缀（用于同1个数据库，导出不同模块的表）
	 */
	private String tableNamePrefix;

	/**
	 * 数据库登录用户名
	 */
	private String dbUserName;
	
	/**
	 * 数据库密码
	 */
	private String dbPassword;
	
	/**
	 * 文件导出目录
	 */
	private String fileUrl;
	
	/**
	 * 文件名称
	 */
	private String fileName;
	
	/**
	 * 线程数，线程池大小
	 */
	private Integer nThreads;
	
	public String getDbDriver() {
		return dbDriver;
	}

	public void setDbDriver(String dbDriver) {
		this.dbDriver = dbDriver;
	}

	public String getDbUrl() {
		return dbUrl;
	}

	public void setDbUrl(String dbUrl) {
		this.dbUrl = dbUrl;
	}

	public String getDbName() {
		return dbName;
	}

	public String getTableNamePrefix() {
		return tableNamePrefix;
	}

	public void setTableNamePrefix(String tableNamePrefix) {
		this.tableNamePrefix = tableNamePrefix;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public String getDbUserName() {
		return dbUserName;
	}

	public void setDbUserName(String dbUserName) {
		this.dbUserName = dbUserName;
	}

	public String getDbPassword() {
		return dbPassword;
	}

	public void setDbPassword(String dbPassword) {
		this.dbPassword = dbPassword;
	}

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	public Integer getnThreads() {
		return nThreads;
	}

	public void setnThreads(Integer nThreads) {
		this.nThreads = nThreads;
	}

	public abstract String createExcel() throws Exception ;
	
}
